package com.luo.dao.impl;

import com.luo.dao.orderDao;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

@Primary //方案二 使用注解 选择默认Bean
@Repository
public class orderDaoImpl implements orderDao {

    @Override
    public void getOrder() {
        System.out.println("orderDao");
    }
}
